package com.example.vo;

import java.io.Serializable;

/**
 * 资产信息类
 * 用于表示Nexus仓库中的资产信息
 */
public class NexusAssetInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    
    private String id;
    private String contentType;
    private String downloadUrl;
    private String lastModified;
    private String md5;
    private String path;
    private String sha1;
    private long size;

    // Getters and setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    
    public String getContentType() { return contentType; }
    public void setContentType(String contentType) { this.contentType = contentType; }
    
    public String getDownloadUrl() { return downloadUrl; }
    public void setDownloadUrl(String downloadUrl) { this.downloadUrl = downloadUrl; }
    
    public String getLastModified() { return lastModified; }
    public void setLastModified(String lastModified) { this.lastModified = lastModified; }
    
    public String getMd5() { return md5; }
    public void setMd5(String md5) { this.md5 = md5; }
    
    public String getPath() { return path; }
    public void setPath(String path) { this.path = path; }
    
    public String getSha1() { return sha1; }
    public void setSha1(String sha1) { this.sha1 = sha1; }
    
    public long getSize() { return size; }
    public void setSize(long size) { this.size = size; }
    
    @Override
    public String toString() {
        return "Asset{" +
                "id='" + id + '\'' +
                ", contentType='" + contentType + '\'' +
                ", downloadUrl='" + downloadUrl + '\'' +
                ", lastModified='" + lastModified + '\'' +
                ", md5='" + md5 + '\'' +
                ", path='" + path + '\'' +
                ", sha1='" + sha1 + '\'' +
                ", size=" + size +
                '}';
    }
}